<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>企业申报系统</title>
	<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css" />
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>
	<script type="text/javascript">
	$(document).ready(function(){
		$("#register").click(function(){
			window.location="${pageContext.request.contextPath}/user/register";
		});
	});
	</script>
</head>
<body>
	<div id="header" class="wrap">
		<div id="logo">
			<img src="${pageContext.request.contextPath}/images/logo.gif"/>
		</div>
	</div>
	<div id="regLogin" class="wrap">
		<div class="dialog">
			<div class="box">
				<h4>用户登录</h4>
				<form action="${pageContext.request.contextPath}/login" method="post">
					<div class="infos">
						<table class="field">					
							<tr>
								<td colspan="2" ></td>
							</tr>
							<tr>
								<td class="field">用 户 名：</td>
								<td>
									<input type="text" name="username" class="text" placeholder="请输入用户名"/>
								</td>
							</tr>
							<tr>
								<td class="field">密　　码：</td>
								<td>
									<input type="password" name="password" class="text" placeholder="请输入密码"/>
									<span id="passwordspen" style="color:red;">${requestScope.err}</span>
								</td>
							</tr>
						</table>
						<div class="buttons">
							<input type="submit" value="立即登录" />
							<input type='button' value='注册' id="register"/> 
						</div>						
					</div>
				</form>
			</div>
		</div>
	</div>
	<div id="footer" class="wrap">
		<dl>
	    	<dt>北大青鸟 &copy; 沈阳优云中心</dt>
	        <dd>关于我们 · 联系方式 </dd>
	    </dl>
	</div>
</body>
</html>